import axios from '../request/axios.js'

export const getDistributorList = (keyword) => {
  return axios({
    url: "/getDistributorList?keyword="+keyword,
    method: "get"
  })
}

export const getTradeShowList = () => {
  return axios({
    url: "/getTradeShowList",
    method: "get"
  })
}

export const setMessage = (obj) => {
  return axios({
    url: "/setMessage",
    method: "get",
    data: obj
  })
}

export const companyInfo = () => {
  return axios({
    url: "/companyInfo",
    method: "get",
  })
}

export const getDistributorCity = (keyword ) => {
  return axios({
    url: "/getDistributorCity?keyword="+keyword,
    method: "get",
  })
}


